package com.ruoyi.interfaced.service;

import java.util.List;
import com.ruoyi.interfaced.domain.ShopOrderInfoInter;

/**
 * 订单Service接口
 * 
 * @author ruoyi
 * @date 2021-12-03
 */
public interface IShopOrderInfoInterService
{
    /**
     * 添加订单
     */
    public int insert(ShopOrderInfoInter shopOrderInfo);


    /**
     * 查询订单
     * 
     * @param orderNo 订单主键
     * @return 订单
     */
    public ShopOrderInfoInter selectShopOrderInfoByOrderNo(String orderNo);

    /**
     * 查询订单列表
     * 
     * @param shopOrderInfo 订单
     * @return 订单集合
     */
    public List<ShopOrderInfoInter> selectShopOrderInfoList(ShopOrderInfoInter shopOrderInfo);

    /**
     * 新增订单
     * 
     * @param shopOrderInfo 订单
     * @return 结果
     */
    public int insertShopOrderInfo(ShopOrderInfoInter shopOrderInfo);

    /**
     * 修改订单
     * 
     * @param shopOrderInfo 订单
     * @return 结果
     */
    public int updateShopOrderInfo(ShopOrderInfoInter shopOrderInfo);

    /**
     * 批量删除订单
     * 
     * @param orderNos 需要删除的订单主键集合
     * @return 结果
     */
    public int deleteShopOrderInfoByOrderNos(String[] orderNos);

    /**
     * 删除订单信息
     * 
     * @param orderNo 订单主键
     * @return 结果
     */
    public int deleteShopOrderInfoByOrderNo(String orderNo);
}
